home *** CD-ROM | disk | FTP | other *** search
- Path: nntp-trd.UNINETT.no!usenet
- From: Roy Arild J|rgensen <rjorgens@krs.hia.no>
- Newsgroups: comp.lang.c++
- Subject: I/O from LPT1 or COM1 in c++. HOW?
- Date: Wed, 10 Apr 1996 17:03:36 +0200
- Organization: UNINETT news service
- Message-ID: <316BCDC8.8B0@krs.hia.no>
- NNTP-Posting-Host: terne.krs.hia.no
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.3 sun4m)
-
- Is there a easy way to get I/O (one switch = 0 or 1) from LPT1 or COM1,
- and use it in a C++ program.
-
- I need a code or a hint, and how to connect the switch to the port.
-
- (Please mail me a copy of your answer!)
-
- Roy
-